package com.sinothk.fc.bill.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sinothk.fc.bill.entity.BillAddReq;
import com.sinothk.fc.bill.entity.BillClassifyEntity;
import com.sinothk.fc.bill.entity.BillEntity;
import com.sinothk.fc.bill.entity.BillReq;

import java.util.ArrayList;

/**
 * @Description: 招财猫账单表
 * @Author: Liangyt
 * @Date:   2022-09-12
 * @Version: V1.0
 */
public interface IBillService extends IService<BillEntity> {

    BillEntity add(BillAddReq bill) throws Exception;

    IPage<BillEntity> queryPageListForStore(Page<BillEntity> page) throws Exception;

    void doPay(BillReq billReq) throws Exception;

    void doBathPay(ArrayList<BillReq> billListReq);


    IPage<BillClassifyEntity> pageForStoreGroupByOrderId(Page<BillClassifyEntity> page) throws Exception;

}
